home *** CD-ROM | disk | FTP | other *** search
- Path: blv-pm2-ip26.halcyon.com!user
- From: hawkfish@punchdeck.com (Richard Wesley)
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2
- Subject: Re: Hungarian notation
- Date: Tue, 06 Feb 1996 07:45:26 -0800
- Organization: Punch Deck Consulting
- Message-ID: <hawkfish-0602960745260001@blv-pm2-ip26.halcyon.com>
- References: <4cud8f$gup@news.netvision.net.il> <4dttefINNo29@keats.ugrad.cs.ubc.ca> <Pine.HPP.3.91.960122145028.27524A-100000@clear.cs.byu.edu> <dewar.822407363@schonberg> <Pine.HPP.3.91.960124References: <30C40F77.53B5@swsbbs.com> <4bd <4cc2b2$11jq@navajo.gate.net> <4cud8f$gup@news.netvision.net.il> <4dttefINNo29@keats.ugrad.cs.ubc.ca> <Pine.HPP.3.91.960122145028.27524A-100000@clear.cs.byu.edu> <dewar.822407363@schonberg> <Pine.HPP.3.91.960124Organization: Trinity College, Cambridge <jad1002.29.00020579@cam.ac.uk> <Pine.HPP.3.91.960203182917.987A-100000@clear.cs.byu.edu>
- NNTP-Posting-Host: blv-pm2-ip26.halcyon.com
- X-Newsreader: Yet Another NewsWatcher 2.1.2
-
- In article <Pine.HPP.3.91.960203182917.987A-100000@clear.cs.byu.edu>,
- Douglas Evan Cook <cookd@cs.byu.edu> wrote:
-
- >On Wed, 31 Jan 1996, James Dennett wrote:
- >
- >> >No, but somebody must have written those methods, no? And that somebody
- >> >needed to know how many bits each data type is, no? When we changed from
- >> >16 bit compiler to 32 bit compiler, the data files remained the same.
- >>
- >> Herein lies your problem - you broke the ADT. If the ADT didn't specify the
- >> size of the components then your code can't rely on them...
- >> so the data files would not necessarily remain the same if
- >> the implementation of the ADT changed.
- >
- >Ah, but the ADT *did* specify that the file format would remain the
- >same. And not all users of the applications are using the same platforms
- >- some are running on 386's with 386 DOS extenders, some are running with
- >286 extenders, some are running on overlaid versions of the program done
- >for straight DOS, some are running on Windows NT, and some are running on
- >non Intel based machines. The users expect to be able to transfer files
- >between each platform. And so we compile, but in each platform we don't
- >want to have to modify the ADT's because of compiler dependancies. So we
- >have the ADT's depend on typedef equivalents, so that when we need to
- >compile for a new platform we only need to change 10-12 lines in the base
- >definition file.
-
- So out of curiosity, how did you handle endian issues (x86s do not use
- network byte order, unlike most of the rest of the hardware in the known
- universe)
-
-
- - rmgw
-
- http://www.punchdeck.com/hawkfish/PunchDeck.html
-
- ----------------------------------------------------------------------------
- Richard Wesley | "I don't know about your dreams
- hawkfish@punchdeck.com | But mine are sort of hackneyed"
- hawkfish@electricfish.com | - Laurie Anderson, "Talk Normal"
- ----------------------------------------------------------------------------
-